<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    var sum = 0;
    for (var i = 1;i <= 100;i++){

        if( i % 10 !== 3){

            sum = sum + i;
            continue;

        }
    }
    console.log(sum);
</script>
<body>

</body>
</html>